package com.jade.zsy.sal.enity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/3
 * Time: 13:56
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_SAL_SHIPMENT_DETAIL")
public class ShipmentDetail extends IdEntity {

    @Column(name = "skuId")
    private String skuId;                     /*商品编号*/

    @Column(name = "skuName")
    private String skuName;                   /*商品名称*/

    @Column(name = "standard")
    private String standard;                /*规格型号*/

    @Column(name = "unit",length = 10)
    private String unit;                    /*计量单位*/

    @Column(name = "number")
    private int number;                     /*数量*/

    @Column(name = "unitPrice")
    private BigDecimal unitPrice;                 /*单价*/

    @Column(name = "price")
    private BigDecimal price;                     /*金额*/

    @Column(name = "备注")
    private String remark;                  /*备注*/
}
